<?php if ($this->list) { ?>
<?php if ($_GET['page'] == 0 AND count($this->list) > 0) { ?>
<a class="main_latest" href="javascript:;" onclick="reload_list(0);" title="点击查看 »" id="new_actions_tip" style="display:none;"><span id="new_action_num"></span> 条新动态，点击查看</a> 

<script type="text/javascript">
	if (typeof checkactionsnew_handle != 'undefined')
	{
		clearInterval(checkactionsnew_handle);
	}
	
	checkactionsnew_handle = setInterval(function () {
		check_actions_new('0', '<?php echo time(); ?>');
	}, 60000);
</script>
<?php } ?>
<?php foreach ($this->list AS $key => $val) { ?>
<!--内容模块_s-->
<div class="S_module" style ="height:70px;">
 <!--用户头像--> 
 <!--   <?php if ($val['anonymous'] == 0) { ?><a class="s_user i_alpHover" href="people/<?php echo $val['user_info']['url_token']; ?>"><img src="<?php echo get_avatar_url($val['user_info']['uid'], 'mid'); ?>" alt="<?php echo $val['user_info']['user_name']; ?>"  class="user_msg" data-message="&uid=<?php echo $val['user_info']['uid']; ?>&card=user" /></a><?php } else { ?><a href="javascript:;" class="s_user i_alpHover "><img src="<?php echo G_STATIC_URL; ?>/common/avatar-mid-img.jpg" alt="匿名用户" title="匿名用户" /></a><?php } ?> -->
  <div>
    <div style="width:100px;margin-right:5px; margin-left:5px; float:left">
     <a href="question/<?php echo $val['question_id']; ?>#reply<?php echo $val['answer_count']; ?>"> <img alt="<?php echo $val['question_content']; ?>" src="<?php echo $val['question_img_url']; ?>" style ="width:90px;height:36px;"></a>
    </div>
   <div style ="float:left;left:100px;top:50px;width:80%;margin-top:2px;">
     <h4><a class="blank_link" href="question/<?php echo $val['question_id']; ?>#reply<?php echo $val['answer_count']; ?>"><?php echo $val['question_content']; ?></a></h4>
    </div>  
    
   <div style="float:left">
    <p class="s_ctrl">
  	<?php if ($val['last_action_str']) { ?><?php echo $val['last_action_str']; ?> • <?php echo date_friendly($val['add_time']); ?> • <?php } ?><span class="i_gray"><a  href="question/<?php echo $val['question_id']; ?>#reply<?php echo $val['answer_count']; ?>"><?php echo $val['answer_count']; ?> 个回复</a> • <a href="javscript:;" class="gxz_b<?php if ($val['has_focus']) { ?> cur<?php } ?>" onclick="focus_question($(this), $(this), <?php echo $val['question_id']; ?>); return false;"><?php if ($val['has_focus']) { ?>取消<?php } ?>关注</a><?php if ($_GET['filter'] == 'focus') { ?> • <?php if ($val['topics']) { ?> 已添加到 <?php foreach($val['topics'] as $t_key => $t_val) { if ($t_key > 2) { break; } ?><a href="topic/<?php echo $t_val['url_token']; ?>" class="user_msg" data-message="&uid=<?php echo $t_val['topic_id']; ?>&card=topic"><?php echo $t_val['topic_title']; ?></a> <?php } ?><?php if (sizeof($val['topics']) > 3) { ?> 等 <?php echo sizeof($val['topics']); ?> 个<?php } ?>标签<?php } else { ?><a href="question/<?php echo $val['question_id']; ?>">添加标签</a><?php } ?></p><?php } else { ?> • <a href="javascript:;" onClick="question_uninterested($(this).parents('div.S_module'), <?php echo $val['question_id']; ?>)">不感兴趣</a><?php } ?></span>
     </p>
    </div>
  </div> 
 	
 	<!--  -->
 	
	
</div>
<!--内容模块_e--> 
<?php } ?>
<?php if (sizeof($this->list) > 0) { ?>
<script type="text/javascript">
(function($){
	$('.blank_link').each(function(f) {
		var flg = $(this);
		flg.parent().find('a[class^="i_alink"]').length == 0 ?
        $('<a/>')
		.addClass('i_alink i_small')
		.attr('title','新窗口打开')
		.attr('href',flg.attr('href'))
		.attr('target','_blank')
		.insertAfter(flg) :''; 
    });
})(jQuery);
</script>
<?php } ?>
<?php } ?>